package cn.stylefeng.guns.modular.shuheng.mapper;

import cn.stylefeng.guns.modular.shuheng.entity.Content;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * <p>
 * 工作内容表 Mapper 接口
 * </p>
 *
 * @author zhengpp
 * @since 2021-03-07
 */
public interface ContentMapper extends BaseMapper<Content> {
    Page<Map<String, Object>> selectContent(@Param("page") Page page, @Param("contentName") String contentName);

    List<Content> listContentByLevelId(@Param("levelId")String levelId,@Param("regionType") String regionType);

    List<Map<String, Object>> listNotDeal(@Param("year")Integer year, @Param("month")Integer month, @Param("contentId")Long contentId, @Param("userLevel")Integer userLevel, @Param("city")Long city, @Param("county")Long county);
}
